package com.huatai.vba.integration.mail.service;

import java.io.File;

import com.huatai.vba.common.exception.BusinessException;

/**
 * 邮件发送
 * 
 * @author fanrui16
 *
 */
public interface MailService {

	void sendEmail(String subject, String msg, String toEmail) throws BusinessException;

	void sendEmail(String subject, String msg, String... toEmails) throws BusinessException;

	void sendEmail(String subject, String msg, File file, String toEmail) throws BusinessException;

	void sendEmail(String subject, String msg, File[] files, String[] toEmails) throws BusinessException;

}
